package com.extr.persistence;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.extr.domain.practice.PracticeRecord;
import com.extr.util.Page;

public interface PracticeRecordMapper {
    int deleteByPrimaryKey(Integer id);

   public int insert(PracticeRecord record);

    PracticeRecord selectByPrimaryKey(Integer id);

    int updateByPrimaryKey(PracticeRecord record);
    
    public List<PracticeRecord> selectRecordByTime(@Param("startTime") String stratTime, @Param("endTime") String endTime, @Param("userName") String userName, @Param("page") Page<PracticeRecord> page);
}